package com.cx.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class HotelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HotelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNull() {
            addCriterion("brand_id is null");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNotNull() {
            addCriterion("brand_id is not null");
            return (Criteria) this;
        }

        public Criteria andBrandIdEqualTo(Integer value) {
            addCriterion("brand_id =", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotEqualTo(Integer value) {
            addCriterion("brand_id <>", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThan(Integer value) {
            addCriterion("brand_id >", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("brand_id >=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThan(Integer value) {
            addCriterion("brand_id <", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThanOrEqualTo(Integer value) {
            addCriterion("brand_id <=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdIn(List<Integer> values) {
            addCriterion("brand_id in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotIn(List<Integer> values) {
            addCriterion("brand_id not in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdBetween(Integer value1, Integer value2) {
            addCriterion("brand_id between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotBetween(Integer value1, Integer value2) {
            addCriterion("brand_id not between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andHotelCityIsNull() {
            addCriterion("hotel_city is null");
            return (Criteria) this;
        }

        public Criteria andHotelCityIsNotNull() {
            addCriterion("hotel_city is not null");
            return (Criteria) this;
        }

        public Criteria andHotelCityEqualTo(String value) {
            addCriterion("hotel_city =", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityNotEqualTo(String value) {
            addCriterion("hotel_city <>", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityGreaterThan(String value) {
            addCriterion("hotel_city >", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_city >=", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityLessThan(String value) {
            addCriterion("hotel_city <", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityLessThanOrEqualTo(String value) {
            addCriterion("hotel_city <=", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityLike(String value) {
            addCriterion("hotel_city like", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityNotLike(String value) {
            addCriterion("hotel_city not like", value, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityIn(List<String> values) {
            addCriterion("hotel_city in", values, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityNotIn(List<String> values) {
            addCriterion("hotel_city not in", values, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityBetween(String value1, String value2) {
            addCriterion("hotel_city between", value1, value2, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelCityNotBetween(String value1, String value2) {
            addCriterion("hotel_city not between", value1, value2, "hotelCity");
            return (Criteria) this;
        }

        public Criteria andHotelLocateIsNull() {
            addCriterion("hotel_locate is null");
            return (Criteria) this;
        }

        public Criteria andHotelLocateIsNotNull() {
            addCriterion("hotel_locate is not null");
            return (Criteria) this;
        }

        public Criteria andHotelLocateEqualTo(String value) {
            addCriterion("hotel_locate =", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateNotEqualTo(String value) {
            addCriterion("hotel_locate <>", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateGreaterThan(String value) {
            addCriterion("hotel_locate >", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_locate >=", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateLessThan(String value) {
            addCriterion("hotel_locate <", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateLessThanOrEqualTo(String value) {
            addCriterion("hotel_locate <=", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateLike(String value) {
            addCriterion("hotel_locate like", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateNotLike(String value) {
            addCriterion("hotel_locate not like", value, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateIn(List<String> values) {
            addCriterion("hotel_locate in", values, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateNotIn(List<String> values) {
            addCriterion("hotel_locate not in", values, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateBetween(String value1, String value2) {
            addCriterion("hotel_locate between", value1, value2, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelLocateNotBetween(String value1, String value2) {
            addCriterion("hotel_locate not between", value1, value2, "hotelLocate");
            return (Criteria) this;
        }

        public Criteria andHotelScoreIsNull() {
            addCriterion("hotel_score is null");
            return (Criteria) this;
        }

        public Criteria andHotelScoreIsNotNull() {
            addCriterion("hotel_score is not null");
            return (Criteria) this;
        }

        public Criteria andHotelScoreEqualTo(BigDecimal value) {
            addCriterion("hotel_score =", value, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreNotEqualTo(BigDecimal value) {
            addCriterion("hotel_score <>", value, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreGreaterThan(BigDecimal value) {
            addCriterion("hotel_score >", value, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("hotel_score >=", value, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreLessThan(BigDecimal value) {
            addCriterion("hotel_score <", value, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("hotel_score <=", value, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreIn(List<BigDecimal> values) {
            addCriterion("hotel_score in", values, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreNotIn(List<BigDecimal> values) {
            addCriterion("hotel_score not in", values, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("hotel_score between", value1, value2, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("hotel_score not between", value1, value2, "hotelScore");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeIsNull() {
            addCriterion("hotel_minimum_charge is null");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeIsNotNull() {
            addCriterion("hotel_minimum_charge is not null");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeEqualTo(Integer value) {
            addCriterion("hotel_minimum_charge =", value, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeNotEqualTo(Integer value) {
            addCriterion("hotel_minimum_charge <>", value, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeGreaterThan(Integer value) {
            addCriterion("hotel_minimum_charge >", value, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeGreaterThanOrEqualTo(Integer value) {
            addCriterion("hotel_minimum_charge >=", value, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeLessThan(Integer value) {
            addCriterion("hotel_minimum_charge <", value, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeLessThanOrEqualTo(Integer value) {
            addCriterion("hotel_minimum_charge <=", value, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeIn(List<Integer> values) {
            addCriterion("hotel_minimum_charge in", values, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeNotIn(List<Integer> values) {
            addCriterion("hotel_minimum_charge not in", values, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeBetween(Integer value1, Integer value2) {
            addCriterion("hotel_minimum_charge between", value1, value2, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelMinimumChargeNotBetween(Integer value1, Integer value2) {
            addCriterion("hotel_minimum_charge not between", value1, value2, "hotelMinimumCharge");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlIsNull() {
            addCriterion("hotel_img_url is null");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlIsNotNull() {
            addCriterion("hotel_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlEqualTo(String value) {
            addCriterion("hotel_img_url =", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlNotEqualTo(String value) {
            addCriterion("hotel_img_url <>", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlGreaterThan(String value) {
            addCriterion("hotel_img_url >", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_img_url >=", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlLessThan(String value) {
            addCriterion("hotel_img_url <", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlLessThanOrEqualTo(String value) {
            addCriterion("hotel_img_url <=", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlLike(String value) {
            addCriterion("hotel_img_url like", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlNotLike(String value) {
            addCriterion("hotel_img_url not like", value, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlIn(List<String> values) {
            addCriterion("hotel_img_url in", values, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlNotIn(List<String> values) {
            addCriterion("hotel_img_url not in", values, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlBetween(String value1, String value2) {
            addCriterion("hotel_img_url between", value1, value2, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelImgUrlNotBetween(String value1, String value2) {
            addCriterion("hotel_img_url not between", value1, value2, "hotelImgUrl");
            return (Criteria) this;
        }

        public Criteria andHotelContentIsNull() {
            addCriterion("hotel_content is null");
            return (Criteria) this;
        }

        public Criteria andHotelContentIsNotNull() {
            addCriterion("hotel_content is not null");
            return (Criteria) this;
        }

        public Criteria andHotelContentEqualTo(String value) {
            addCriterion("hotel_content =", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentNotEqualTo(String value) {
            addCriterion("hotel_content <>", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentGreaterThan(String value) {
            addCriterion("hotel_content >", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_content >=", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentLessThan(String value) {
            addCriterion("hotel_content <", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentLessThanOrEqualTo(String value) {
            addCriterion("hotel_content <=", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentLike(String value) {
            addCriterion("hotel_content like", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentNotLike(String value) {
            addCriterion("hotel_content not like", value, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentIn(List<String> values) {
            addCriterion("hotel_content in", values, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentNotIn(List<String> values) {
            addCriterion("hotel_content not in", values, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentBetween(String value1, String value2) {
            addCriterion("hotel_content between", value1, value2, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andHotelContentNotBetween(String value1, String value2) {
            addCriterion("hotel_content not between", value1, value2, "hotelContent");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOther1IsNull() {
            addCriterion("other1 is null");
            return (Criteria) this;
        }

        public Criteria andOther1IsNotNull() {
            addCriterion("other1 is not null");
            return (Criteria) this;
        }

        public Criteria andOther1EqualTo(String value) {
            addCriterion("other1 =", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotEqualTo(String value) {
            addCriterion("other1 <>", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThan(String value) {
            addCriterion("other1 >", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThanOrEqualTo(String value) {
            addCriterion("other1 >=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThan(String value) {
            addCriterion("other1 <", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThanOrEqualTo(String value) {
            addCriterion("other1 <=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Like(String value) {
            addCriterion("other1 like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotLike(String value) {
            addCriterion("other1 not like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1In(List<String> values) {
            addCriterion("other1 in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotIn(List<String> values) {
            addCriterion("other1 not in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Between(String value1, String value2) {
            addCriterion("other1 between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotBetween(String value1, String value2) {
            addCriterion("other1 not between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther2IsNull() {
            addCriterion("other2 is null");
            return (Criteria) this;
        }

        public Criteria andOther2IsNotNull() {
            addCriterion("other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOther2EqualTo(String value) {
            addCriterion("other2 =", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotEqualTo(String value) {
            addCriterion("other2 <>", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThan(String value) {
            addCriterion("other2 >", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThanOrEqualTo(String value) {
            addCriterion("other2 >=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThan(String value) {
            addCriterion("other2 <", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThanOrEqualTo(String value) {
            addCriterion("other2 <=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Like(String value) {
            addCriterion("other2 like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotLike(String value) {
            addCriterion("other2 not like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2In(List<String> values) {
            addCriterion("other2 in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotIn(List<String> values) {
            addCriterion("other2 not in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Between(String value1, String value2) {
            addCriterion("other2 between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotBetween(String value1, String value2) {
            addCriterion("other2 not between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andHotelNameIsNull() {
            addCriterion("hotel_name is null");
            return (Criteria) this;
        }

        public Criteria andHotelNameIsNotNull() {
            addCriterion("hotel_name is not null");
            return (Criteria) this;
        }

        public Criteria andHotelNameEqualTo(String value) {
            addCriterion("hotel_name =", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotEqualTo(String value) {
            addCriterion("hotel_name <>", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameGreaterThan(String value) {
            addCriterion("hotel_name >", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameGreaterThanOrEqualTo(String value) {
            addCriterion("hotel_name >=", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameLessThan(String value) {
            addCriterion("hotel_name <", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameLessThanOrEqualTo(String value) {
            addCriterion("hotel_name <=", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameLike(String value) {
            addCriterion("hotel_name like", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotLike(String value) {
            addCriterion("hotel_name not like", value, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameIn(List<String> values) {
            addCriterion("hotel_name in", values, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotIn(List<String> values) {
            addCriterion("hotel_name not in", values, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameBetween(String value1, String value2) {
            addCriterion("hotel_name between", value1, value2, "hotelName");
            return (Criteria) this;
        }

        public Criteria andHotelNameNotBetween(String value1, String value2) {
            addCriterion("hotel_name not between", value1, value2, "hotelName");
            return (Criteria) this;
        }

        public Criteria andAreaNameIsNull() {
            addCriterion("area_name is null");
            return (Criteria) this;
        }

        public Criteria andAreaNameIsNotNull() {
            addCriterion("area_name is not null");
            return (Criteria) this;
        }

        public Criteria andAreaNameEqualTo(String value) {
            addCriterion("area_name =", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotEqualTo(String value) {
            addCriterion("area_name <>", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameGreaterThan(String value) {
            addCriterion("area_name >", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameGreaterThanOrEqualTo(String value) {
            addCriterion("area_name >=", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameLessThan(String value) {
            addCriterion("area_name <", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameLessThanOrEqualTo(String value) {
            addCriterion("area_name <=", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameLike(String value) {
            addCriterion("area_name like", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotLike(String value) {
            addCriterion("area_name not like", value, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameIn(List<String> values) {
            addCriterion("area_name in", values, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotIn(List<String> values) {
            addCriterion("area_name not in", values, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameBetween(String value1, String value2) {
            addCriterion("area_name between", value1, value2, "areaName");
            return (Criteria) this;
        }

        public Criteria andAreaNameNotBetween(String value1, String value2) {
            addCriterion("area_name not between", value1, value2, "areaName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}